import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

import {DataAnalysisRoutingModule} from './data-analysis-routing.module'
import {DataAnalysisComponent} from './data-analysis.component';
import {SharedModule} from '../../shared/shared.module';
import {WindResourceComponent} from './wind-resource/wind-resource.component';
import {WindEnergyModule} from '../monitor/wind-energy/wind-energy.module';
import {FarmPlantpowerComponent} from './farm-plantpower/farm-plantpower.component'
import {FarmPlantPowerService} from '../../service/farm-plant-power.service';
import {FarmService} from '../../service/farm.service';
import {FarmOverhaulComponent} from './farm-overhaul/farm-overhaul.component';
import {CompanyOverhaulComponent} from './company-overhaul/company-overhaul.component';
import {DiseaseOperationComponent} from './disease-operation/disease-operation.component';
import {OverhaulTableComponent} from './farm-overhaul/overhaul-table/overhaul-table.component';
import {OverhaulEditComponent} from './farm-overhaul/overhaul-edit/overhaul-edit.component';
import {TurboperHistoryService} from '../../service/turboper-history.service';
import {TurboperCategoryService} from '../../service/turboper-category.service';
import {WindPowerForecastComponent} from './wind-power-forecast/wind-power-forecast.component';
import {PowerForecastDeviationComponent} from './power-forecast-deviation/power-forecast-deviation.component';
import {PowerDeviationTableComponent} from './power-forecast-deviation/power-deviation-table/power-deviation-table.component';
import {QuotaRankComponent} from './quota-rank/quota-rank.component';
import {QuotaEchartsComponent} from './quota-rank/quota-echarts/quota-echarts.component';
import {QuotaRankService} from '../../service/quota-rank.service';
import {TurbineOperationComponent} from './turbine-operation/turbine-operation.component';
import {DataSourceService} from '../../service/data-source/data-source.service';
import {LossElectricityComponent} from './loss-electricity/loss-electricity.component';
import {LossElectricityEchartComponent} from './loss-electricity/loss-electricity-echart/loss-electricity-echart.component';
import {LossElectricityService} from '../../service/loss-electricity.service';
import {TurbcomponentService} from '../../service/turbcomponent.service';
import {DeviceTagSelectorModule} from '../common/device-tag-selector/device-tag-selector.module';
import {ListedQueryComponent} from './listed-query/listed-query.component'
import {OperCategorysService} from '../../service/oper-categorys.service';
import {DropdownModule, MultiSelectModule} from 'primeng/primeng';
import {TableModule} from 'primeng/table';
import {PredictivePowerComponent} from './predictive-power/predictive-power.component';
import {InstalledCapacityRatioComponent} from './installed-capacity-ratio/installed-capacity-ratio.component';
import {InstalledCapacityRatioService} from '../../service/installed-capacity-ratio.service';
import {RPowerComponent} from './r-power/r-power.component';
import {FaultlossComponent} from './faultloss/faultloss.component';
import {PredictionPowercomponent} from './prediction-power/prediction-powercomponent';

@NgModule({
  imports: [
    CommonModule,
    DataAnalysisRoutingModule,
    SharedModule,
    FormsModule,
    ReactiveFormsModule,
    WindEnergyModule,
    DeviceTagSelectorModule,
    MultiSelectModule,
    DropdownModule,
    TableModule
  ],
  declarations: [
    DataAnalysisComponent,
    WindResourceComponent,
    FarmPlantpowerComponent,
    FarmOverhaulComponent,
    CompanyOverhaulComponent,
    DiseaseOperationComponent,
    OverhaulTableComponent,
    OverhaulTableComponent,
    OverhaulEditComponent,
    WindPowerForecastComponent,
    PowerForecastDeviationComponent,
    PowerDeviationTableComponent,
    LossElectricityComponent,
    LossElectricityEchartComponent,
    PowerDeviationTableComponent,
    QuotaRankComponent,
    QuotaEchartsComponent,
    PowerDeviationTableComponent,
    TurbineOperationComponent,
    ListedQueryComponent,
    PredictivePowerComponent,
    InstalledCapacityRatioComponent,
    RPowerComponent,
    FaultlossComponent,
    PredictionPowercomponent
  ],
  providers: [
    FarmService,
    FarmPlantPowerService,
    TurboperHistoryService,
    TurboperCategoryService,
    LossElectricityService,
    TurboperCategoryService,
    DataSourceService,
    QuotaRankService,
    TurbcomponentService,
    OperCategorysService,
    InstalledCapacityRatioService
  ],
})
export class DataAnalysisModule {
}
